package com.group.admin.controller;

import com.group.admin.service.ShopStockTaskDetailService;
import com.group.common.utils.PageUtils;
import com.group.common.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;



/**
 * 商品任务单详情表
 *
 * @author lins
 * @email 695565697@qq.com
 * @date 2021-11-17 18:41:17
 */
@RestController
@RequestMapping("admin/shopstocktaskdetail")
public class ShopStockTaskDetailController {
    @Autowired
    private ShopStockTaskDetailService shopStockTaskDetailService;

    /**
     * 列表
     */
    @RequestMapping("/list")
    public R list(@RequestParam Map<String, Object> params){
        PageUtils page = shopStockTaskDetailService.queryPage(params);

        return R.ok().put("page", page);
    }

}
